package kr.hkit.powerjava.chapter11;

class Shapes{
	public Shapes(){
		System.out.println("Shape 생성자()");
		
		
	}

	@Override
	public String toString() {
		return "Shape []";
	}
}

public class Rectangle extends Shape {
			public Rectangle(){
				
		Shape s = new Shape();
		System.out.println("Rectangle 생성자()" + s);
		s.toString();
	}
}
